package com.polaris.live.im.sfs.bean.chat

/**
 * 用户升级
 *
 * @author Created by 半仙 on 2024/1/30/030 15:58
 */
data class UserRichCharmLevelUpgradeNoticeMessage(
    /**
     * 升级的用户id
     */
    val userId: Long,
    /**
     * 升级的类型
     *
     * 0壕 1魅
     */
    val type: Int,
    /**
     * 升级的等级
     */
    val level: Int,
    /**
     * 奖励
     */
    val rewards: List<UpgradeReward>? = null,
)

data class UpgradeReward(
    /**
     * 显示的图片地址
     */
    val photoUrl: String,
    /**
     * 显示的标题
     */
    val title: String,
    /**
     * 显示的内容
     */
    val content: String? = null,
    /**
     * 宽高
     */
    val ext: String? = null,
    /**
     * 奖励类型
     *
     * 0: 只是用于展示，不需要跳转
     * 1: 装饰
     * 2: 勋章
     */
    val rewardType: Int? = null,
)
